<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// $Id$
return [

    // 模板参数替换
    'view_replace_str'       => array(
        '__CSS__'    => '/static/admin/css',
        '__JS__'     => '/static/admin/js',
        '__IMG__' => '/static/admin/images',
        '__LAY__' => '/static/admin/layui',
        '__FONT__' => '/static/admin/font-awesome',
        '__TREE__' => '/static/admin/ztree',
        '__LOGIN__' => '/static/login'
    ),
    // 默认控制器名
    'default_controller'     => 'Login',
    // 默认操作名
    'default_action'         => 'login',

    // 管理员状态
    'user_status' => [
        '1' => '正常',
        '2' => '禁用'
    ],
    // 角色状态
    'role_status' => [
        '1' => '启用',
        '2' => '禁用'
    ],

    //加密串
    'salt' => '3l6VgdxBAWvNEyfL',

    //权限配置
    'AUTH_CONFIG'=>[
        'AUTH_ON'           => true,    // 认证开关
        'AUTH_TYPE'         => 1,    // 认证方式，1为实时认证；2为登录认证。
        'AUTH_GROUP'        => 'z_role',    // 角色表
        'AUTH_RULE'         => 'z_node',    // 节点表
        'AUTH_USER'         => 'z_user',   // 用户信息表
    ]





];
